home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
076-100
/
scopedisk81
/
startup
/
sd
< prev
next >
Wrap
Text File
|
1995-03-19
|
6KB
|
137 lines
Startup
=======
Program written by Weston Fryatt & Paul Davis For Acropolis Development.
This Program Is Ourware, simply meaning that if you find it useful and feel
that it is worth some kind of moola please send as much as you feel it is
worth (Programmers are usually poor anyway).
You may distibute this program freely but it is not to be sold in any form
we have written it for the benefit of the amiga community and not for
someone to make money off of it, if someone sends a donation it will go for
the development of other Acropolis Software.
This program came into existance simply because I was tired of switching
disks with different startup-sequences on them just for some goofy program,
there were times when I just wanted workbench and others when I needed to
have VD0: active. I finally came up with the idea of writing a program that
would allow you to use different startup-sequences on the same disk. Thus
Startup was born, now I set to the task of learning 'C' (HA! what a fool I
was being!) after learning that 'C' has a whole different setup than the
old eight-bit ML it was time to call for outside help. Enter Weston Fryatt
Programmer 'Extraordinare' and the fastest pizza eater in the world!.
By conning Weston into writing the source for Startup, I had what I had
been looking for (actually weston and I are old programming friends and
part of a three person team that makes up Acropolis Development).
Now you can have up to five completely seperate startup-sequences and there
is no limit to what they can do, Startup works with ALL dos commands
(unlike other SIMILAR programs I have seen), we also added a timer so that
the requester would go to the default startup after a set amount of time.
you can also have from one to five startups and the number of startups
you choose is how many gadgets show up, Startup also takes up NO MEMORY!
once it has run it deletes itself from memory.
Installing Startup
==================
The ideal way to install Startup is to place it in the S: directory and
rewrite your startup-sequence to start the program and set it's parameters.
The parameters for Startup are as follows......
Startup (5-99) (2-5) (Execute Name)
The first parameter (5-99) is the countup timer, it will go from 0 to the
number that you specify, then it will automaticly run startup.1
The second number (2-5) is the number of startups you have in your S:
directory, this will be the number of gadget choices you have on the
screen.
The third command (Execute Name) is the name of your execute command if you
have changed it, the default is Execute (meaning if you did not change the
name of your execute command then don't type anything here) an example is
that weston renamed execute to EX so he would type ex here.
So for a startup with a ten second timer, three different startups and an
execute command by the name of EX you would type......
S:Startup 10 3 EX
Now this is what you should change your original startup-sequence to so
that the first thing the computer does is run startup with your parameters
active. For the seperate startups you need to name them Startup.# where #
is the number of that particular startup-sequence (1-5). When the timer
runs out of time it will automaticly run the first startup (startup.1). You
can change the S: to C: if you wish to put it in the 'C' Directory, but
make sure that your startups are still in the S: directory as that is where
the program will look for them. If startup does not find the startup files
it will just break to Cli.
A typical S: directory would look like
Startup
startup-sequence
startup.1
startup.2
startup.3
startup.4
startup.5
Startup will place itself in the center of your screen and then disapear
when either the timer is up or you have selected a startup. You may select
startups by mouse or by keyboard or by numeric-keypad. it will then Execute
that paticular startup. You may also abort startup by hitting the ESC key
or by pressing the right mouse button.
We have provided three example startups to give you an idea of what you can
do with the program. For example startup.3 is the one I use to load and run
a term and have duiii sitting in the background so that when I am
downloading I can check my disk space and whatever else I need to do.
If you have any comments or find a bug in the program I can be reached at
The Amiga Project 1-805-834-9383
C/o Paul Davis
Or Weston Fryatt And Or Kevin Sanders
We will be happy to answer any questions you have about the program or bugs
you have found.
Source Code is available upon request. Send a disk mailer with proper
postage to....
Acropolis Development C/O Paul Davis
Rt-11 Box 563-A
Bakersfield, Ca 93312
This is also the mailing address for any Ourware Donations.
Programmer Notes
================
Startup was conceived and written over a weekend. After testing the
program we ran across a bug, certain comands like, cd, stack, prompt etc..
would not work and although most other commands were working.
By playing with the source code I discovered that I was not handling the
output filehandler in the proper manner. So after more testing I struck
upon the idea of writing the execute sequence to the input.device this was
the same thing that we used to do on the 64. Now instead of running the
execut command from inside the program we put it in the input.device with
a return at the end and the computer is fooled into thinking that it was
typed from the keyboard thus solving the problem.
Coming Soon From A-D A-Print
==================== =======
A Printer Utility With Gadgets That Will Allow You To Print A Text File
In Any Mode Your Printer Can Handle. With Lots Of Little Options To Keep
You Interested.